EnumDependentServices (advapi32)
Last changed: anfortas.geo@yahoo.com-216.204.61.86

.
Summary
The EnumDependentServices function retrieves the name and status of each service that depends on the specified service; that is, the specified service must be running before the dependent services can run.

C# Signature:

[DllImport("advapi32.dll", EntryPoint="EnumDependentServicesW", ExactSpelling=true, SetLastError=true)]
static extern bool EnumDependentServices( IntPtr hService,
                       SERVICE_STATES dwServiceState,
                       ref ENUM_SERVICE_STATUS lpServices,
                       int cbBufSize,
                       ref int pcbBytesNeeded,
                       ref int lpServicesReturned );

VB Signature:

Declare Function EnumDependentServices Lib "advapi32.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation